﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TestXrayService.Web.XrayService;

namespace TestXrayService.Web
{
    public partial class GetPatientByMedtrakRowID : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                var svc = new XrayServiceClient();
                var result = svc.GetPatientDatasByMedtrakRowID(886676, PatientDataMode.Address);
                svc.Close();

                GridView1.DataSource = result;
                GridView1.DataBind();

            }
        }
    }
}